MfHandle

class MfHandle : Probe

Representation of the measurement instrument 'testo multifunctional handle'.

Properties

Link copied to clipboard
open override val type: ProbeType

Type of the probe object.

Functions

Link copied to clipboard
open override fun deactivateNotification(measType: MeasType)

Unregister notifications for a given measType

Link copied to clipboard
open override fun disconnect()

Disconnects the device. To connect to the device again you have to create a new probe object.

Link copied to clipboard
open override fun getBatteryLevel(): Float

Gets the battery level of the measurement instrument.

Link copied to clipboard
open override fun getDeviceId(): String

Gets the id of the measurement instrument.

Link copied to clipboard
open override fun getMeasTypes(): List<MeasType>

Returns a list of available MeasType for this probe.

Link copied to clipboard
open override fun getSerial(): <Error class: unknown class>

Gets the serial number of the measurement instrument.

Link copied to clipboard
open override fun isDeviceAvailable(): Boolean

Checks if the connection to the device exists.

Link copied to clipboard
open override fun subscribeNotification(measType: MeasType, notifyFunction: NotifyFunction)

Registers a callback function to receive measurement data of the measurement instrument.